import { IPSMailAddress } from './ipsmail-address';
import { PSPickerEditorImpl } from './pspicker-editor-impl';

export class PSMailAddressImpl extends PSPickerEditorImpl implements IPSMailAddress {
  get enablePickupView(): boolean {
    return this.M.enablePickupView;
  }

  get cls(): string {
    return 'PSMailAddressImpl';
  }

  instanceof(cls: string): boolean {
    if (cls == 'control.editor.IPSMailAddress') return true;
    return super.instanceof(cls);
  }
}
